--- a/configure
+++ b/configure
@@ -6987,7 +6987,7 @@ TERMCAP=-ltermcap
 
 for terminfo_dir in $JD_Terminfo_Dirs
 do
-   if test -d $terminfo_dir
+   if true
    then
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
